<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>Facelet Title</title>
          <h:outputStylesheet name="default.css" library="css" />
    </h:head>
    <h:body>
        <ui:composition>
            <h:form prependId="false">
                 <p:outputPanel autoUpdate="true">
                <p:toolbar >
                    <p:toolbarGroup align="left">
                        <p:commandButton value="#{bundle.btnPrint}" icon="ui-icon-document"
                                       onclick="reset()"    />                         
                        
                    </p:toolbarGroup>
                </p:toolbar>
                </p:outputPanel>
                <h:panelGrid  style="vertical-align: top" id="displayAccreport" styleClass="addELIT" cellpadding="0" columns="2" columnClasses="panelGridId,panelGridId">
                    <p:panel header="Jenis Laporan" style="margin: 0 0 0 0;">
                    
                        <p:dataTable var="rpt" value="#{accReportBean.availableMenu}" selection="#{accReportBean.selectedReport}" selectionMode="single"
                                     rowKey="#{rpt.menuId}">
                             <p:column style="width:auto" rendered="false" >
                                <f:facet name="header">ID</f:facet>
                                <h:outputText value="#{rpt.menuId}" />
                            </p:column>
                            <p:column style="width:auto" sortBy="#{rpt.menuName}">
                                <f:facet name="header">Nama Laporan</f:facet>
                                <h:outputText value="#{rpt.menuName}" />
                            </p:column>
                        </p:dataTable>
                    </p:panel>
                    <p:panel header="Filter">
                    <h:panelGrid columns="2" styleClass="addELIT" >
                        <h:outputLabel value="Dari"/>
                        <p:calendar pattern="dd/MM/yyyy" size="8"/>
                        <h:outputLabel value="Sampai"/>
                        <p:calendar pattern="dd/MM/yyyy" size="8"/>
                          <h:outputLabel value="#{bundle.cif}"/>
                         <p:inputText label="#{bundle.cif}"/>
                    </h:panelGrid>
                        </p:panel>
                </h:panelGrid>
            </h:form>
        </ui:composition>
    </h:body>
</html>

